package study.equals;

public class Equals {
    public static void main(String[] args) {
        String a = "123";
        String b = "123";
        String a1 = new String("123");
        System.out.println(a==a1);
        System.out.println(a.equals(b));

        int c = 1;
        int d = 1;
        //System.out.println(c.equals(d));


    }
}
